package com.example.base.validation.annation;

import javax.validation.Payload;

public @interface IsMail {

    /**
     * 是否需要校验
     * @return  boolean
     */
    boolean required() default true;

    boolean isRequiredNull() default true;

    String message() default "邮箱格式错误";

    Class<?>[] groups() default { };

    Class<? extends Payload>[] payload() default { };
}
